using System;
using System.Data;
using System.Collections.Generic;
using System.Text;

namespace BUS
{
    public class LoaiDocGia
    {
        public static bool Insert(string sql)
        {
            DAO.LoaiDocGia ldg = new DAO.LoaiDocGia();
            return ldg.Insert(sql);
        }
        public static bool Update(string sql)
        {
            DAO.LoaiDocGia ldg = new DAO.LoaiDocGia();
            return ldg.Update(sql);
        }
        public static bool Delete(string sql)
        {
            DAO.LoaiDocGia ldg = new DAO.LoaiDocGia();
            return ldg.Delete(sql);
        }
        public static DataTable Select(string sql)
        {
            DAO.LoaiDocGia ldg = new DAO.LoaiDocGia();
            return ldg.Select(sql);
        }
        public static List<DTO.LoaiDocGia> DanhSachLoaiDocGia()
        {
            DAO.LoaiDocGia ldg = new DAO.LoaiDocGia();
            return ldg.DanhSachLoaiDocGia();
        }

        public static int LayMaLoaiDocGia(string tenLDG)
        {
            DAO.LoaiDocGia l = new DAO.LoaiDocGia();
            return l.LayMaLoaiDocGia(tenLDG);
        }
    }
}
